home *** CD-ROM | disk | FTP | other *** search
/ Interactive Web Graphics with Shout 3D / Interactive Web Graphics With Shout 3D.iso / mac / Code / Chapter10 / targetviewpoint.s3d < prev    next >
Text File  |  2000-07-13  |  2KB  |  97 lines

  1. StillCameraProgressiveAntialiase {}
  2.  
  3. TargetViewpoint {
  4.      center 3 4 5
  5.      heading -.5
  6.      pitch -.8
  7.      distance 7
  8. }
  9.  
  10.  
  11. Background {
  12.     color 1 1 1
  13. }
  14.  
  15.  
  16. DEF Box01 Transform {
  17.     translation 3 4 5
  18.     children [
  19.         Transform {
  20.             translation 0 -1 0
  21.             children [
  22.                 Shape {
  23.                     appearance [
  24.                         MultiAppearance {
  25.                             material Material {
  26.                                 diffuseColor 0.2549 1 0.2549
  27.                                 specularColor 0.045 0.045 0.045
  28.                                 shininess 0.25
  29.                                 transparency 0
  30.                             }
  31.                         }
  32.                         MultiAppearance {
  33.                             material Material {
  34.                                 diffuseColor 0 0.502 0
  35.                                 specularColor 0.045 0.045 0.045
  36.                                 shininess 0.25
  37.                                 transparency 0
  38.                             }
  39.                         }
  40.                         MultiAppearance {
  41.                             material Material {
  42.                                 diffuseColor 0.3569 0.3569 1
  43.                                 specularColor 0.045 0.045 0.045
  44.                                 shininess 0.25
  45.                                 transparency 0
  46.                             }
  47.                         }
  48.                         MultiAppearance {
  49.                             material Material {
  50.                                 diffuseColor 0 0 0.502
  51.                                 specularColor 0.045 0.045 0.045
  52.                                 shininess 0.25
  53.                                 transparency 0
  54.                             }
  55.                         }
  56.                         MultiAppearance {
  57.                             material Material {
  58.                                 diffuseColor 1 0.2235 0.2235
  59.                                 specularColor 0.045 0.045 0.045
  60.                                 shininess 0.25
  61.                                 transparency 0
  62.                             }
  63.                         }
  64.                         MultiAppearance {
  65.                             material Material {
  66.                                 diffuseColor 0.502 0 0
  67.                                 specularColor 0.045 0.045 0.045
  68.                                 shininess 0.25
  69.                                 transparency 0
  70.                             }
  71.                         }
  72.                     ]
  73.                     geometry MultiMesh {
  74.                         coord DEF Box01-COORD Coordinate {
  75.                             point [
  76.                                 -1 0 1 1 0 1 -1 0 -1 1 0 -1 -1 2 1 1 2 1 -1 2 -1 1 2 -1
  77.                             ]
  78.                         }
  79.                         coordIndex [
  80.                             0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1 0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1 3 2 6 -1 6 7 3 -1
  81.                             2 0 4 -1 4 6 2 -1
  82.                         ]
  83.                         smoothingIndex [
  84.                             1 -1 1 -1 1 -1 1 -1 2 -1 2 -1 3 -1 3 -1 2 -1 2 -1 3 -1 3 -1
  85.                         ]
  86.                         appearanceIndex [
  87.                             1 1 0 0 2 2 4 4 3 3 5 5
  88.                         ]
  89.                         textureMappings [
  90.                         ]
  91.                     }
  92.                 }
  93.             ]
  94.         }
  95.     ]
  96. }
  97.